<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="x-ua-compatible" content="ie=7"/>
<title>发现活动</title>
<script type="text/javascript" src="../../dwr/engine.js"></script>
<script type="text/javascript" src="../../lovejes/lovejes.js"></script>
<script src="../../lovejes/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/sys_util.js"></script>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/base.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/front/index.js"></script>
<link rel="shortcut icon" href="http://www.cuniao.com/dpupload/logo.ico"/>
<link href="../themes/default/css/css.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function scrollDoor(){
}
scrollDoor.prototype = {
	sd : function(menus,divs,openClass,closeClass){
		var _this = this;
		if(menus.length != divs.length){
			alert("菜单层数量和内容层数量不一样!");
			return false;
		}
		for(var i = 0 ; i < menus.length ; i++){
			_this.$(menus[i]).value = i;
			_this.$(menus[i]).onclick = function(){
				for(var j = 0 ; j < menus.length ; j++){
					_this.$(menus[j]).className = closeClass;
					_this.$(divs[j]).style.display = "none";
				}
				_this.$(menus[this.value]).className = openClass;
				_this.$(divs[this.value]).style.display = "block";
			}
		}
	}
	,$ : function(oid){
		if(typeof(oid) == "string")
		return document.getElementById(oid);
		return oid;
	}
}
var timename=setInterval("Comm.queryhint();",25000); //定时器
</script>
</head>
<body leftmargin="0" topmargin="0" onload="Cn_Act.findActInit();">
<form id="form1" name="form1">
	<!-- 头部 -->
	<div id="topframe">
		<div class="topt">
		 <div class="topcon">
		    <div class="toplist" id="toplist">
		      <a href="../front/invite.html" style="color:red">邀请好友参加返5元</a>
		      <a href="/cuniao/showlogin.html">登录</a>
		      <a href="../acl/register.html">注册</a>
		    </div>
		     <div class="gzwm"><span>关注我们：</span>
			  		<a href="http://weibo.com/cuniao" target="_blank"><img src="/cuniao/cuniao/themes/default/images/img_xl.gif"/></a>
					<a href="http://weibo.com/cuniao" target="_blank"><img src="/cuniao/cuniao/themes/default/images/icon_tengxun.png"/></a>
			 </div>
	     </div>
		</div>
		
	<div>
		<a class="logo" href="http://www.cuniao.com/cuniao"></a>
		<hidden id="cityid" value="" /><!-- 所在城市 美工需要显示可以切换-->
	</div>
	
	<div class="city" onmouseover="showhid('city')" onmouseout="showhid2('city')"><a href="#" class="downlist">[<span>杭 州</span>]</a> 
  		<div class="citylist" id="city" style=" display:none;">
      	<dl class="link1">
            <dt>浙江：</dt>
            <dd><a href="#">杭州</a><a href="#">台州</a><a href="#">嘉兴</a><a href="#">宁波</a><a href="#">绍兴</a><a href="#/">湖州</a><a href="#">温州</a><a href="#">金华</a><a href="#">舟山</a><a href="#">衢州</a><a href="#">丽水</a></dd>
            </dd>
      	</dl>
<iframe src="" style="width:240px;height:200px;top:0px;left:0px;position:absolute;visibility:inherit;
z-index:-1; filter:ALPHA(opacity=0); " frameborder=0></iframe>
	  	</div>
  	</div>
  		
		<div class="navw">
			<div class="nav">
				<ul>
				<li><a href="index.html">首 页</a></li>
				<li><a href="myact.html">我的活动</a></li>
				<li><a href="invite.html">邀请好友</a></li>
				<li><a href="guang.html">随便逛逛</a></li>
				</ul>
			</div>
			<div class="search">
				<input name="query" type="text" id="searcht" value="找活动、找人" size="20" maxlength="20" onkeydown=" if (event.keycode ==13){cn_index.searchto();return false;}" onblur="if(this.value==''){this.value=this.title;}this.style.color='#999999'" onfocus="if(this.value==this.title){this.value='';}" title="找活动、找人" style="color:#787878;" title="活动主题"/>
				<input name="input" class="btn_search" id="input" value="" onclick="Cn_Index.searchTo();"/>
			</div>
		</div>
	</div>
	<div id="mainframe">
		<div id="leftframe">
			<div id="tdivs03">
				<div id="dtab03" class="dtab03">
					<form id="form3" name="form3" method="post" action="">
						<table border="0" cellspacing="0" class="table_fqhd" id="findacttable" style="display:none">
						<!-- 隐藏的查询条件 -->
						<input type="hidden" id="creater">
						<!--发起人-->
						<input type="hidden" id="ztype">
						<!--活动类型-->
						<input type="hidden" id="tempztype">
						<!--多选临时 活动类型-->
						<input type="hidden" id="actstarttime">
						<input type="hidden" id="actendtime">
						<tr class="tr_fqhd" id="seletedoption" style="display:none">
							<td colspan="2">
								<div class="choice">
									<dl id="selected" name="selected">
										<dt>您已选择：</dt>
									</dl>
								</div>
							</td>
						</tr>
						<tr class="tr_fqhd" id="trfcreater" style="display:none">
							<td colspan="2">
								<table cellpadding="0" cellspacing="0" width="100%">
								<tr>
									<td class="td_fqhd">
										<div class="hdtype">
											<dl>
												<dt style="width:auto">发起人是：</dt>
												<ul>
													<li><a href="javascript:Cn_Act.addCondition(this,'fcreater','发起人是','我的好友','1');" value="1">我的好友</a></li>
													<li><a href="javascript:Cn_Act.addCondition(this,'fcreater','发起人是','可能感兴趣的人','2');" value="2">可能感兴趣的人</a></li>
												</ul>
											</dl>
										</div>
									</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr class="tr_fqhd" id="trfztype" style="display:block">
							<td class="td_prop" colspan="2">
								<!-- 点击“选择多种职业”按钮，则隐藏把下面一行中的class名字改为'class="hdtype disnone"'    -->
								<div id="lizy" class="hdtype">
									<dl>
										<dt>活动标签：</dt>
										<dd>
										<ul>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','吃饭聊天','1');" value="1">吃饭聊天</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','喝点东西','2');" value="2">喝点东西</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','唱KTV','3');" value="3">唱KTV</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','看场电影','4');" value="4">看场电影</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','唱逛街血拼','5');" value="5">逛街血拼</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','酒吧PUB','6');" value="6">酒吧PUB</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','度假旅游','7');" value="7">度假旅游</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','运动健身','8');" value="8">运动健身</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','大型演出','9');" value="9">大型演出</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','打牌桌游','10');" value="10">打牌桌游</a></li>
											<li><a href="javascript:Cn_Act.addCondition(this,'fztype','类型','其他','11');" value="11">其他</a></li>
										</ul>
										<a href="javascript:Cn_Act.changediv(this)" class="chmore"><span style="font-weight:bold; font-size:14px;">+</span>选择多种类型</a>
										</dd>
									</dl>
								</div>
								<!--注：如下div层中 如要显示 则删除class中的disnone-->
								<div id="lizy_check" class="hdtype proplist disnone" style="position:relative; z-index:9; padding-bottom:10px;">
									<dl>
										<dt style="" title="类型">活动类型：</dt>
										<dd>
										<ul>
											<li id="lizy1"><a href="javascript:Cn_Act.getValue(this,1,'吃饭聊天')" value="1">吃饭聊天</a></li>
											<li id="lizy2"><a href="javascript:Cn_Act.getValue(this,2,'喝点东西');" value="2">喝点东西</a></li>
											<li id="lizy3"><a href="javascript:Cn_Act.getValue(this,3,'唱KTV');" value="3">唱KTV</a></li>
											<li id="lizy4"><a href="javascript:Cn_Act.getValue(this,4,'看场电影');" value="4">看场电影</a></li>
											<li id="lizy5"><a href="javascript:Cn_Act.getValue(this,5,'逛街血拼');" value="5">逛街血拼</a></li>
											<li id="lizy6"><a href="javascript:Cn_Act.getValue(this,6,'酒吧PUB');" value="6">酒吧PUB</a></li>
											<li id="lizy7"><a href="javascript:Cn_Act.getValue(this,7,'度假旅游');" value="7">度假旅游</a></li>
											<li id="lizy8"><a href="javascript:Cn_Act.getValue(this,8,'运动健身');" value="8">运动健身</a></li>
											<li id="lizy9"><a href="javascript:Cn_Act.getValue(this,9,'大型演出');" value="9">大型演出</a></li>
											<li id="lizy10"><a href="javascript:Cn_Act.getValue(this,10,'打牌桌游');" value="10">打牌桌游</a></li>
											<li id="lizy11"><a href="javascript:Cn_Act.getValue(this,11,'其他');" value="11">其他</a></li>
										</ul>
									</dl>
									<button class="submit" type="button" onclick="javascript:Cn_Act.addCondition(this,'fztype','活动类型',Jes('tempztype').title,Jes('tempztype').value);">确定</button>
									<a title="退出多选模式" class="quit" href="javascript:Cn_Act.canceldiv(this)">× 退出</a>
								</div>
							</td>
						</tr>
						<tr class="tr_fqhd" id="trfztime" style="display:block">
							<td class="" colspan="2">
								<table cellpadding="0" cellspacing="0" width="100%">
								<tr>
									<td>
										<div class="hdtype">
											<dl>
												<dt style="" title="活动地点">活动时间：</dt>
												<dd id="ddztime">
												<!-- 时间部分 -->
												</dd>
											</dl>
										</div>
									</td>
									<td width="50" style="text-align:right;">
										<a id="downup" class="down" href="javascript:showhidediv('facttime');Cn_Act.changedownup('downup')">高级</a>
									</td>
								</tr>
								<tr id="facttime" style="display:none;">
									<td class="" colspan="2">
										<div class="hdtype">
											<dl>
												<dt style="width:90px;" title="活动地点">时间范围：</dt>
												<dd> 从 <input type="text" id="factstarttime" name="factstarttime" size="12" onchange="" title="活动时间" required class="textfield03" onfocus="WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,minDate:'%y-%M-#{%d}'})"/> 到 <input type="text" id="factendtime" name="factendtime" size="12" onchange="" title="活动时间" required class="textfield03" onfocus="WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'factstarttime\')}'})"/>
												</dd>
												<button class="submit" type="button" onclick="javascript:Cn_Act.addCondition(this,'fztime','时间范围',Jes('factstarttime').value+'到'+Jes('factendtime').value,Jes('factstarttime').value,Jes('factendtime').value)">确定</button>
											</dl>
										</div>
									</td>
								</tr>
								</table>
							</td>
						</tr>
						</table>
						<table width="100%" cellpadding="0" cellspacing="0">
                    		<tr class="tr_noline">
                      			<td class="" colspan="2"  style="padding-top:10px;text-align:center;">
						<a href="javascript:showhidediv('findacttable');showhid2('zk');showhid('sq');" id="zk" class="icoall" style="color:red" >
							<span style="font-size:10px; padding:0 3px;">∨</span>展开查询条件
						</a>
						<a href="javascript:showhidediv('findacttable');showhid2('sq');showhid('zk');" id="sq" style="display:none;color:red" class="icoall">
							<span style="font-size:10px; padding:0 3px;">∧</span>收起查询条件
						</a>
                    		  </td>
                    		</tr>
                  		</table>
					</form>
				</div>
					<div id="all_topic">
					<!--内容-->
					</div>
					<div class="manu" id="all_page">
					</div>
			</div>
		</div>
		<div id="rightframe">
      		<div class="hd_zzfq2" id="divindAct" style="display:none">
				<h3><span>你的好友已参加的活动</span><a href="#"></a></h3>
				<div id="indAct">
				</div>
			</div>
			<div class="hd_zzfq2" id="divrecommAct" style="display:none">
			<h3><span>簇鸟推荐的活动</span><a href="../front/findact.html">更多活动</a></h3>
				<div id="recommAct">
					
				</div>
			</div>
			<div class="hd_zzfq2" id="divrecentact">
				<h3><span>最新的活动</span><a href="../front/findact.html">更多活动</a></h3>
				<div id="recentact">
				</div>
			</div>
			<div class="hd_zzfq2" id="divindUser" style="display:none">
				<h3><span>你的好友关注了他们</span><a href="#"></a></h3>
				<div id="indUser">
				</div>
			</div>
			<div class="hd_zzfq2" id="divrecommUser" style="display:none">
				<h3><span>簇鸟推荐用户</span><a href="#"></a></h3>
				<div id="recommUser">
				</div>
			</div>
			<div id="goToTop">
				<a href="#">返回顶部</a>
			</div>
		</div>
	</div>
	<div id="botframe">
		<div class="footer">
			<div class="botlink">
				<span class="about"><a href="#">关于簇鸟</a> ·<a href="#">在簇鸟工作</a> ·<a href="#">关于我们</a> ·<a href="#">免责申明</a> ·<a href="#">帮助中心</a></span><span class="copyright">© 2011－2021 簇鸟网(www.cuniao.com) 浙ICP备11038099号</span>
			</div>
		</div>
	</div>
</form>
<!-- 通知 -->
<div id="goToTop">
	<a href="#">返回顶部</a>
</div>
<div id="topnotice" style="display:none">
</div>
<!-- 默认杭州 -->
<input type="hidden" id="area" name="area" value="1">
<input type="hidden" id="city" name="city" value="2">
<input type="hidden" id="fuserid">
<!--隐藏发私信-->
<div class="hidden2" id="showDiv2">
	<div class="hidd_01">
		<div class="hidd_title">
			 发私信<span onclick="$('#showDiv2').hide()">x</span>
		</div>
		<div class="hidd_con">
			<form>
				<div class="letter_name">
					<label>私信内容：</label>
					<textarea onkeyup="Cn_Index.limitSx(this)" class="letter_con" id="letter_area" name="letter_area"></textarea>
				</div>
				<div class="face">
					<img src="../themes/default/images/face.gif"/>
				</div>
				<input type="button" value="发送" id="btn_sxsend" class="letter_send" onclick="Cn_Index.send();"/>
			</form>
			<span id="sx_leftnum">说明：还可以输入180字</span>
		</div>
	</div>
</div>
<!-- 右侧的加关注+设置分组-->
<div class="hidden4" id="showDiv4">
	<div class="hidd_01">
		<div class="hidd_title" style="color:red">
			 关注成功!<span onclick="$('#showDiv4').hide()">x</span>
		</div>
		<div class="hidd_con_4">
			<span>为“<span id="fuserlongid"></span>”选择分组：</span>
			<div class="group">
				<ul id="option_groups">
				</ul>
				<div class="clear">
				</div>
				<div id="box" style="display:none">
					<input type="text" id="newGroupName" class="organize"/><input type="button" onclick="Cn_Index.addNewGroup();" value="创建" class="new"/>
					<span onclick="$('#box').hide()" style="cursor:pointer;">取消</span>
				</div>
				<div class="clear">
				</div>
			</div>
			<input type="button" class="save" onclick="Cn_Index.doGroup();" value="保存"/>
			<input type="button" class="cancel" onclick="$('#showDiv4').hide();" value="取消"/>
		</div>
	</div>
</div>
<!--列表中的设置分组-->
<div class="hidden4" id="showDiv7">
	<div class="hidd_01">
		<div class="hidd_title">
			 设置分组<span onclick="$('#showDiv7').hide()">x</span>
		</div>
		<div class="hidd_con_4">
			<span>选择分组：</span>
			<div class="group">
				<ul id="fri_option_groups">
				</ul>
				<div class="clear">
				</div>
				<!--
                <a href="#" onclick="openShutManager(this,'box')">+创建新分组</a>
                -->
				<div id="box" style="display:none">
					<input type="text" class="organize"/><input type="button" value="创建" class="new"/><span onclick="$('#box').hide()" style="cursor:pointer;">取消</span>
				</div>
				<div class="clear">
				</div>
			</div>
			<input type="button" class="save" onclick="Cn_Friend.doGroup();" value="保存"/>
			<input type="button" class="cancel" onclick="$('#showDiv7').hide();" value="取消"/>
		</div>
	</div>
</div>
<!--设置备注名-->
<div class="hidden5" id="showDiv5">
	<div class="hidd_01">
		<div class="hidd_title">
			 设置备注名<span onclick="$('#showDiv5').hide()">x</span>
		</div>
		<div class="hidd_con_5">
			<div>
				 给朋友加个备注名，方便认出他是谁
			</div>
			<input type="text" class="beizhu" id="beizhu"/><input type="button" onclick="Cn_Index.saveName();" value="保存" class="save_name"/>
		</div>
	</div>
</div>
<!--删除全部-->
<div class="hidden6" id="showDiv6">
	<div class="hidd_01">
		<div class="hidd_title">
			 删除全部<span onclick="$('#showDiv6').hide()">x</span>
		</div>
		<div class="hidd_con_6">
			<div class="hid_left">
				<img src="images/wenhao.jpg"/>
			</div>
			<div class="hid_right">
				<div>
					 确定要删除与某某之间的所有对话？
				</div>
				<div>
					<input type="checkbox" class="hid_check"/>同时将此用户加入黑名单
				</div>
				<div>
					<input type="button" class="hid_que" value="确定"/><input type="button" class="hid_ch" value="取消"/>
				</div>
			</div>
			<div class="clear">
			</div>
		</div>
	</div>
</div>
<!--隐藏求关注-->
<div class="hidden8" id="showDiv8">
	<div class="hidd_01">
		<div class="hidd_title">
			 发私信<span onclick="$('#showDiv8').hide()">x</span>
		</div>
		<div class="hidd_con">
			<form>
				<div class="letter_name">
					<label><font color="#FF0000">*</font>说点什么：</label>
					<textarea class="letter_con">介绍一下自己，让对方关注你</textarea>
				</div>
				<input type="button" value="发送" class="letter_send"/>
			</form>
			<span>说明：长度不超过300字</span>
		</div>
	</div>
</div>
<!--hide取消关注-->
<div class="hidegz1" id="hidegz1">
	<div class="hidd_con gz_hidecon">
		<form>
			<p>
				 确定不再关注?
			</p>
			<input type="button" class="hid_que" value="确定" onclick="Cn_Friend.doRemoveGuanzhu()"/>
			<input type="button" class="hid_ch" value="取消" onclick="$('#hidegz1').hide()"/>
		</form>
	</div>
</div>
<!--hide求关注-->
<div class="hidden4 hidegz2" id="hidegz2">
	<div class="hidd_01">
		<div class="hidd_title">
			 求关注<span onclick="$('#hidegz2').hide()">x</span>
		</div>
		<div class="hidd_con">
			<form>
				<div class="letter_name">
					<label>说点什么：</label>
					<textarea class="letter_con" id="qgz_content"></textarea>
				</div>
				<div class="face">
					<img src="../themes/default/images/face.gif"/>
				</div>
				<input type="button" value="发送" class="letter_send" onclick="Cn_Friend.send(2)"/>
			</form>
			<span>说明：长度不超过300字</span>
		</div>
	</div>
</div>
<div class="hidegz1" id="divalert" style="width:200px;height:80px;">
	<div class="hidd_con gz_hidecon">
		<div class="hidd_title">
			 <a href="javascript:void(0);">
			 <span style="color:red;padding-left:180px;" onclick="$('#divalert').hide()">X</span></a>
		</div>
		<form>
			<p id="alert" style="color:red">
			</p>
		</form>
	</div>
</div>
<script type="text/javascript">
function showhid(id){
	document.getElementById(id).style.display ='block';
}
function showhid2(id){
	document.getElementById(id).style.display ='none';
}
//=点击展开关闭效果=
function openShutManager(oSourceObj,oTargetObj,shutAble,oOpenTip,oShutTip){
var sourceObj = typeof oSourceObj == "string" ? document.getElementById(oSourceObj) : oSourceObj;
var targetObj = typeof oTargetObj == "string" ? document.getElementById(oTargetObj) : oTargetObj;
var openTip = oOpenTip || "";
var shutTip = oShutTip || "";
if(targetObj.style.display!="none"){
   if(shutAble) return;
   targetObj.style.display="none";
   if(openTip  &&  shutTip){
    sourceObj.innerHTML = shutTip; 
   }
} else {
   targetObj.style.display="block";
   if(openTip  &&  shutTip){
    sourceObj.innerHTML = openTip; 
   }
}
}
function showDiv(obj){
	var pz = ___getPageSize(), ps = ___getPageScroll();
	var ow = $(obj).width(),oh = $(obj).height();
	$(obj).css({
		top:(pz[3]-oh)/2 + ps[1],
		left:(pz[2]-ow)/2 +ps[0]
	}).show();
}
function showhidediv(id) {
                var sbtitle = document.getElementById(id);
                if (sbtitle) {
                    if (sbtitle.style.display == 'block') {
                        sbtitle.style.display = 'none';
                    } else {
                        sbtitle.style.display = 'block';
                    }
                }
}
</script>
</body>
</html>